using System;

namespace Elevation.Common.Services.Helpers
{
	[Flags]
	public enum TokenAccess
	{
		TokenAssignPrimary = 0x0001,
		TokenDuplicate = 0x0002,
		TokenImpersonate = 0x0004,
		TokenQuery = 0x0008,
		TokenQuerySource = 0x0010,
		TokenAdjustPrivileges = 0x0020,
		TokenAdjustGroups = 0x0040,
		TokenAdjustDefault = 0x0080,
		TokenAdjustSessionid = 0x0100,

		TokenAllAccess = TokenAssignPrimary | TokenDuplicate | TokenImpersonate | TokenQuery | TokenQuerySource |
		                 TokenAdjustPrivileges | TokenAdjustGroups | TokenAdjustDefault | TokenAdjustSessionid
	}
}